package com.liezh.bridge;

/**
 * 抽象实体类，定义功能
 * @author liezh
 * @date 2021-9-2
 */
public interface FileUploadExcutor {

    Object uploadFile(String path, Object file);

    boolean checkFile(Object file);

    default boolean delete(String key) {
        throw new RuntimeException("当前文件上传执行器，不支持删除功能");
    }

}
